# 条件语句
print('111')
print('222')
print('333')

a = 10
if a == 10:
    print("睡觉")
else:
    print("吃饭")

if a == 20:
    print('cf')
elif a == 10:
    print('logo')
else:
    print('cc')
# 没有()，用:
# 没有{}, 用缩进表示执行哪块代码
# else if => elif

# 缩进块
a = 100
if a == 100:
    print('aaa')
    print('bbb')
    print('ccc')
else:
    print('xxx')

# 缩进表示代码块
# if else elif while for 都要缩进

# 多级缩进
a = 1
b = 2
if a == 1:
    if b == 2:
        print('bbb')
    print('aaa')
print('ccc')

# 输入一个整数，判断奇偶
# a = input()# 返回值是字符串
# a = int(a)
# if a % 2 == 1:
#     print('奇数')
# else:
#     print('偶数')

# 输入一个整数，判断是正数还是负数
# a = int(input()) # 输入时转换为整数
# if a > 0:
#     print('正数')
# elif a < 0:
#     print('负数')
# else:
#     print('0')

# 判断是否是闰年
a = int(input())
if a % 4 == 0 and a % 100 != 0 or a % 400 == 0:
    print('是闰年')
else:
    print('不是闰年')



